<?php

namespace Swoole;

/**
 * @since 4.6.2
 */
class Table
{
    const TYPE_INT = 1;
    const TYPE_STRING = 3;
    const TYPE_FLOAT = 2;

    /**
     * @param $table_size[required]
     * @param $conflict_proportion[optional]
     *
     * @return mixed
     */
    public function __construct($table_size, $conflict_proportion = null)
    {
    }

    /**
     * @param $name[required]
     * @param $type[required]
     * @param $size[optional]
     *
     * @return mixed
     */
    public function column($name, $type, $size = null)
    {
    }

    /**
     * @return mixed
     */
    public function create()
    {
    }

    /**
     * @return mixed
     */
    public function destroy()
    {
    }

    /**
     * @param $key[required]
     * @param $value[required]
     *
     * @return mixed
     */
    public function set($key, $value)
    {
    }

    /**
     * @param $key[required]
     * @param $field[optional]
     *
     * @return mixed
     */
    public function get($key, $field = null)
    {
    }

    /**
     * @return mixed
     */
    public function count()
    {
    }

    /**
     * @param $key[required]
     *
     * @return mixed
     */
    public function del($key)
    {
    }

    /**
     * @param $key[required]
     *
     * @return mixed
     */
    public function delete($key)
    {
    }

    /**
     * @param $key[required]
     *
     * @return mixed
     */
    public function exists($key)
    {
    }

    /**
     * @param $key[required]
     *
     * @return mixed
     */
    public function exist($key)
    {
    }

    /**
     * @param $key[required]
     * @param $column[required]
     * @param $incrby[optional]
     *
     * @return mixed
     */
    public function incr($key, $column, $incrby = null)
    {
    }

    /**
     * @param $key[required]
     * @param $column[required]
     * @param $decrby[optional]
     *
     * @return mixed
     */
    public function decr($key, $column, $decrby = null)
    {
    }

    /**
     * @return mixed
     */
    public function getSize()
    {
    }

    /**
     * @return mixed
     */
    public function getMemorySize()
    {
    }

    /**
     * @param $offset[required]
     *
     * @return mixed
     */
    public function offsetExists($offset)
    {
    }

    /**
     * @param $offset[required]
     *
     * @return mixed
     */
    public function offsetGet($offset)
    {
    }

    /**
     * @param $offset[required]
     * @param $value[required]
     *
     * @return mixed
     */
    public function offsetSet($offset, $value)
    {
    }

    /**
     * @param $offset[required]
     *
     * @return mixed
     */
    public function offsetUnset($offset)
    {
    }

    /**
     * @return mixed
     */
    public function rewind()
    {
    }

    /**
     * @return mixed
     */
    public function next()
    {
    }

    /**
     * @return mixed
     */
    public function current()
    {
    }

    /**
     * @return mixed
     */
    public function key()
    {
    }

    /**
     * @return mixed
     */
    public function valid()
    {
    }
}
